package com.pantuo.sys.service;

import com.pantuo.common.utils.TableRequest;
import org.springframework.data.domain.PageImpl;

import java.util.List;
import java.util.Map;

public interface VehicleService {

    public PageImpl<Map<String, Object>> findPageObjects(TableRequest request);

    //根据线路id查找出线路的名称以及对应的id
    public List<Map<String, Object>> findAllNames(Integer id);

    //根据车辆编号查出车辆id和公司名称
    public List<Map<String, Object>> findIdAndCNameByNum(String vehicleNum2_s);


    //根据线路id查出车辆数量
    public Map<String, Object> findTotalByVId(Integer id);

    //查询车辆在某个时间段的总数统计
    public PageImpl<Object> vehRangeSelect(TableRequest request);


}
